<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .whole {
            width: 420px;
            height: 100px;
            margin: 0 auto;
            border: 1px solid #fff;
        }

        .box {
            width: 100px;
            height: 100px;
            border: 1px solid rgb(39, 230, 156);
            line-height: 100px;
            float: left;
        }

        .box1 {
            width: 100px;
            height: 100px;
            border: 1px solid rgb(39, 230, 156);
            line-height: 100px;
            float: left;

        }

        .box2 {
            width: 100px;
            height: 100px;
            border: 1px solid rgb(39, 230, 156);
            line-height: 100px;
            float: left;
        }

        .box3 {
            width: 100px;
            height: 100px;
            border: 1px solid rgb(39, 230, 156);
            line-height: 100px;
            float: left;

        }

    </style>
</head>

<body>
    <div class="whole">
        <div class="box">人生一世</div>
        <div class="box1">草木一秋</div>
        <div class="box2">来如风雨</div>
        <div class="box3">去似微尘</div>
    </div>
</body>

</html>